<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/bootstrap.min.css" rel="stylesheet" >
<script type="text/javascript" src ="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src ="js/bootstrap.min.js"></script>
<title>发表主贴</title>
</head>
<style>
	#addTopic{
		margin:0 auto;
		width:500px;
		height:300px;
	}
	 #topic{
		width:	400px;
	} 
	#content{
		width:500px;
		margin-top:30px;
	}
</style>
<body>
<div>
	<ol class="breadcrumb">
  		<li><a href="#">郑州科技学院吧</a></li>
  		<li><a href="#">${board.name}</a></li>
	</ol>	
</div>
<div id="addTopic">
	<form action="getaddTopic">
		<div class="form-group">		
    		<div id=topic >
    			  <input type="hidden" value="${board.id}" name="bid">
     			<input type="text" class="form-control" id="title" name="title" placeholder="请输入标题">
    		</div>
    		<div id=content>		
				<textarea class="form-control" rows="5" name="TitleContent" placeholder="请输入内容"></textarea><br>
				<input type="submit" class="btn btn-primary" value="发表">			
    		</div>
  		</div>
	</form>
</div>
</body>
</html>